package com.yunxi.service.dubboService.impl.otd;

import com.yunxi.core.web.ApiResult;
import com.yunxi.otd.pojo.OtdOrderCirWeekImportVO;
import com.yunxi.otd.pojo.OtdOrderCirWeekQueryVO;
import com.yunxi.otd.pojo.OtdOrderCirWeekReleaseVO;
import com.yunxi.otd.pojo.OtdOrderCirWeekVO;
import com.yunxi.otd.pojo.OtdOrderMonthQueryVO;
import com.yunxi.otd.pojo.OtdOrderMonthReleaseVO;
import com.yunxi.otd.service.OtdOrderCirWeekDubboService;
import com.yunxi.service.localService.otd.OtdOrderCirWeekService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * <p>
 * 周CIR预测 服务实现类
 * </p>
 *
 * @author XUQI
 * @since 2019-10-14
 */
public class OtdOrderCirWeekDubboServiceImpl implements OtdOrderCirWeekDubboService {

    @Autowired
    @Qualifier(value = "otdOrderCirWeekServiceImpl")
    OtdOrderCirWeekService otdOrderCirWeekService;

    /**
     * 主页面查询
     *
     * @param queryVO 查询条件
     * @return ApiResult
     */
    @Override
    public ApiResult page(OtdOrderCirWeekQueryVO queryVO) {
        return otdOrderCirWeekService.page(queryVO);
    }

    /**
     * 导入
     *
     * @param importVO 导入VO
     * @return ApiResult
     */
    @Override
    public ApiResult importData(OtdOrderCirWeekImportVO importVO) {
        return otdOrderCirWeekService.importData(importVO);
    }

    /**
     * 修改数量
     *
     * @param weekVO 周预测VO
     * @return ApiResult
     */
    @Override
    public ApiResult modify(OtdOrderCirWeekVO weekVO) {
        return otdOrderCirWeekService.modify(weekVO);
    }

    /**
     * 释放周预测
     *
     * @param releaseVO releaseVO
     * @return ApiResult
     */
    @Override
    public ApiResult release(OtdOrderCirWeekReleaseVO releaseVO) {
        return otdOrderCirWeekService.release(releaseVO);
    }
}
